AS_NDK_PATH=/disk/sdk/compiler/android-ndk-r14b-linux-x86_64/android-ndk-r14b
AS_NDK_PLAT=$(AS_NDK_PATH)/platforms/android-24

# 架构
ARCH = x86

# 交叉编译器配置,示例: arm-linux-gnueabihf- mips-linux-gnu-
CROSS = i686-linux-android-

# 编译器详细配置
GCC = $(CROSS)gcc
GXX = $(CROSS)g++
AR = $(CROSS)ar
AS = $(CROSS)as
NM = $(CROSS)nm
RANLIB = $(CROSS)ranlib
STRIP = $(CROSS)strip
OBJDUMP = $(CROSS)objdump
LD = $(CROSS)ld

# 平台编译项和路径:
EXT_CFLAGS = --sysroot=$(AS_NDK_PLAT)/arch-x86
EXT_INCS +=
EXT_LIBS +=
